<!doctype html>
<html lang="en" xmlns:th="http://thymeleaf.org">
<head th:replace="common/htmlHead :: common_header(~{::title})">
    <title>患者注册</title>
    <meta http-equiv="content-type" charset="UTF-8">
</head>

<body>
<!-- loader Start -->
<div id="loading">
    <div id="loading-center">
    </div>
</div>
<!-- loader END -->
<!-- Sign in Start -->
<section class="sign-in-page">
    <div class="container sign-in-page-bg mt-5 p-0">
        <div class="row no-gutters">

            <div class="col-md-6 text-center" th:fragment="common_login">
                <div class="sign-in-detail text-white">
                    <a class="sign-in-logo mb-5" href="#"><img th:src="@{/images/logo-white.png}" class="img-fluid" alt="logo"></a>
                    <div class="owl-carousel" data-autoplay="true" data-loop="true" data-nav="false" data-dots="true"
                         data-items="1" data-items-laptop="1" data-items-tab="1" data-items-mobile="1"
                         data-items-mobile-sm="1" data-margin="0">
                        <div class="item">
                            <img th:src="@{/images/login/1.png}" class="img-fluid mb-4" alt="logo">
                            <h4 class="mb-1 text-white">Tips</h4>
                            <p>保持开心</p>
                        </div>
                        <div class="item">
                            <img th:src="@{/images/login/2.png}" class="img-fluid mb-4" alt="logo">
                            <h4 class="mb-1 text-white">Tips</h4>
                            <p>不要熬夜</p>
                        </div>
                        <div class="item">
                            <img th:src="@{/images/login/3.png}" class="img-fluid mb-4" alt="logo">
                            <h4 class="mb-1 text-white">Tips</h4>
                            <p>定期运动</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-md-6 position-relative">
                <div class="sign-in-from">
                    <h1 class="mb-0">注册</h1>
                    <form class="mt-4" th:action="@{/suffer-sign-up}" method="post">
                        <input name="Gender" value=" " type="hidden" >
                        <div class="form-group">
                            <label for="exampleInputSufferName">名字</label>
                            <input type="text" name="Suffername" class="form-control mb-0" id="exampleInputSufferName"
                                   placeholder="Name" required>
                        </div>
                        <div class="form-group">
                            <label for="exampleInputSufferEmail">邮箱地址</label>
                            <input type="email" name="Email" class="form-control mb-0" id="exampleInputSufferEmail"
                                   placeholder="Email" required>
                        </div>
                        <div class="form-group">
                            <label for="exampleInputPassword1">密码</label>
                            <input type="password" name="Password" class="form-control mb-0" id="exampleInputPassword1"
                                   placeholder="Password" required>
                        </div>
                        <div class="d-inline-block w-100">
                            <button type="submit" class="btn btn-primary float-right">注册</button>
                            <span th:text="${msg}" style="color:red"></span>
                        </div>
                        <div class="sign-info">
                            <span class="dark-color d-inline-block line-height-2">已有用户? <a th:href="@{tosuffer-sign-in}">登录</a></span>

                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- Sign in END -->
<!--使用公有js-->
<div th:replace="common/htmlHead::common_js(~{::script})">

</div>
</body>
</html>